<?php
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'get';
$return=array();
if($_RQ['op']=='get'){
	$list = array(
			array('title'=>'个性类','list'=>array(
					array('name'=>'jy_gohomeweixiu','title'=>'维修上门','desc'=>'手机维修，电器维修等','icon'=>''),
					array('name'=>'jy_gohomebaojie','title'=>'上门保洁','desc'=>'保洁，洗衣，打扫！','icon'=>''),
			)),
	);
	foreach($list as &$type){
		foreach($type['list'] as &$p){
			$install = pdo_get('core_plugins',array('name'=>$p['name']));
			if($install){
				$p['is_install'] = 1;
				$p['is_show'] = 1;
			}else{
				$p['is_install'] = 0;
				$p['is_show'] = 0;
				if($_SESSION['isfounder']){
					$p['is_show'] = 1;
				}
			}
			
		}
	}
	$return['list']=$list;
	exi($return);
}

?>